package com.aaa.backsystem.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * fileName:MyConfig
 * description:
 * author:gyc
 * createTime:2020/8/22 12:15
 * version:1.0.0
 */
@Configuration
public class MyConfig {
    @Bean
    public RestTemplate restTemplate(){
        RestTemplate restTemplate = new RestTemplate();
        return restTemplate;
    }
}
